package com.xb.cloud.shopping.model;

import java.math.BigDecimal;
import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;

/**
 * 
 * @ClassName: ShoppingCartItem
 * @Description:下单时购物车所选商品，购物车项
 * @author: 鲜备科技
 * @date: 2018年1月24日 下午5:20:38
 * 
 * @Copyright: 2018 www.xianbeitech.com Inc. All rights reserved.
 *
 */
public class ShoppingCartItem {
	
	// 购物车数据库信息
	private Long skuId;
	private int num;
	@JSONField(format = "yyyy-MM-dd")
	private Date addTime;

	public ShoppingCartItem() {
		super();
	}

	public ShoppingCartItem(Long skuId, int num) {
		super();
		this.skuId = skuId;
		this.num = num;
	}

	public ShoppingCartItem(Long skuId, int num, Date addTime) {
		super();
		this.skuId = skuId;
		this.num = num;
		this.addTime = addTime;
	}

	public Long getSkuId() {
		return skuId;
	}

	public void setSkuId(Long skuId) {
		this.skuId = skuId;
	}

	public int getNum() {
		return num;
	}

	public void setNum(int num) {
		this.num = num;
	}

	public Date getAddTime() {
		return addTime;
	}

	public void setAddTime(Date addTime) {
		this.addTime = addTime;
	}

 
}
